/**
 * Created by Eoly on 2017/3/29.
 * Call http://palerock.cn
 */

var pageGroup = app.pageGroup;

// 添加路由页面
pageGroup.addPage('home-page/home.html');
pageGroup.addPage('test-page-two/test-two.html');
pageGroup.addPage('hello-page/welcome.html');
pageGroup.addPage('history-task-page/history-task.html');
pageGroup.addPage('login-page/login.html');
pageGroup.addPage('user-register-page/tel-register.html');
pageGroup.addPage('user-register-page/email-register.html');
pageGroup.addPage('forget-password-page/tel-get-back.html');
pageGroup.addPage('forget-password-page/email-get-back.html');
pageGroup.addPage('individual-center-page/individual-center.html');
pageGroup.addPage('personal-profile-page/personal-profile.html');
pageGroup.addPage('personal-profile-edit-page/personal-profile-edit.html');
pageGroup.addPage('release-task-page/release-task-content.html');
pageGroup.addPage('release-task-page/task-condition.html').setController('condition');
pageGroup.addPage('search-page/search.html');
pageGroup.addPage('hello-page/hello.html').setController('test-three');
pageGroup.addPage('personal-task-details-page/personal-task-details.html');
pageGroup.addPage('delete-oneself-tasks-page/delete-oneself-tasks.html');
pageGroup.addPage('others-task-details-page/others-task-details.html');
pageGroup.addPage('others-profile-page/others-profile.html');
pageGroup.addPage('others-center-page/others-center.html');
pageGroup.addPage('others-history-release-page/others-history-release.html');
pageGroup.addPage('about-us-page/about-us.html');

// 设置默认页面
pageGroup.setDefault('/home');


// 初始化路由
pageGroup.buildRouter(app);